package com.gagakuai.bpm.service.camunda.impl;

import com.gagakuai.bpm.dao.mapper.camunda.HmilyCancelLogMapper;

import com.gagakuai.bpm.domian.entity.camuda.HmilyCancelLog;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class HmilyCancelLogServiceImpl implements HmilyCancelLogService {

    @Resource
    private HmilyCancelLogMapper hmilyCancelLogMapper;

    @Override
    public int deleteByPrimaryKey(String txNo) {
        return hmilyCancelLogMapper.deleteByPrimaryKey(txNo);
    }

    @Override
    public int insert(HmilyCancelLog record) {
        return hmilyCancelLogMapper.insert(record);
    }

    @Override
    public int insertOrUpdate(HmilyCancelLog record) {
        return hmilyCancelLogMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(HmilyCancelLog record) {
        return hmilyCancelLogMapper.insertOrUpdateSelective(record);
    }

    @Override
    public int insertSelective(HmilyCancelLog record) {
        return hmilyCancelLogMapper.insertSelective(record);
    }

    @Override
    public HmilyCancelLog selectByPrimaryKey(String txNo) {
        return hmilyCancelLogMapper.selectByPrimaryKey(txNo);
    }

    @Override
    public int updateByPrimaryKeySelective(HmilyCancelLog record) {
        return hmilyCancelLogMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(HmilyCancelLog record) {
        return hmilyCancelLogMapper.updateByPrimaryKey(record);
    }

    @Override
    public int updateBatch(List<HmilyCancelLog> list) {
        return hmilyCancelLogMapper.updateBatch(list);
    }

    @Override
    public int batchInsert(List<HmilyCancelLog> list) {
        return hmilyCancelLogMapper.batchInsert(list);
    }

}

